Contribution org.nuxeo.search.ui.contentviews--widgets
In component org.nuxeo.search.ui.contentviews
org.nuxeo.search.ui.contentviews
inside nuxeo-search-ui-8.10.jar /OSGI-INF/search-contentviews-contrib.xml
This contribution is part of XML component Extension Point
Extension point widgets of component WebLayoutManager.Contributed Items
XML Source
<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
<!-- widgets for default_search -->
<widget name="default_text_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.search.textSearch</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="ecm_fulltext" type="text">
<fields>
<field>defaults:ecm_fulltext</field>
</fields>
<properties widgetMode="edit">
<property name="placeholder">
#{messages['label.search.text.placeholder']}
</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="default_created_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.creationDate</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_creationDate" type="datetimeRange">
<fields>
<field>defaults:dc_created_min</field>
<field>defaults:dc_created_max</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="edit">
<property name="styleClass">dataInputTextDate</property>
<property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
</properties>
</widget>
<widget name="dc_created_agg" type="selectManyCheckboxDateHistogramAggregate">
<fields>
<field>defaults:dc_created_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_created_agg'].extendedBuckets}</property>
</properties>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_modified_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.modificationDate</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_modificationDate" type="datetimeRange">
<fields>
<field>defaults:dc_modified_min</field>
<field>defaults:dc_modified_max</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="edit">
<property name="styleClass">dataInputTextDate</property>
<property name="format">#{nxu:basicDateAndTimeFormatter()}</property>
</properties>
</widget>
<widget name="dc_modified_agg" type="selectManyCheckboxDateRangeAggregate">
<fields>
<field>defaults:dc_modified_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_modified_agg'].extendedBuckets}</property>
<property name="localize">true</property>
</properties>
<selectOptions>
<option itemLabel="label.aggregate.modified.last24h" itemValue="last24h"/>
<option itemLabel="label.aggregate.modified.lastWeek" itemValue="lastWeek"/>
<option itemLabel="label.aggregate.modified.lastMonth" itemValue="lastMonth"/>
<option itemLabel="label.aggregate.modified.lastYear" itemValue="lastYear"/>
<option itemLabel="label.aggregate.modified.priorToLastYear" itemValue="priorToLastYear"/>
</selectOptions>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_creator_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.creator</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_creator" type="multipleUsersSuggestion">
<fields>
<field>defaults:dc_creator</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="edit">
<property name="searchType">USER_TYPE</property>
<property name="minChars">3</property>
<property name="hideHelpLabel">true</property>
</properties>
</widget>
<widget name="dc_creator_agg" type="selectManyListboxUserAggregate">
<fields>
<field>defaults:dc_creator_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="edit">
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_creator_agg'].extendedBuckets}</property>
</properties>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_collection_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.collections</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="visible_collection" type="multipleDocumentsSuggestion">
<fields>
<field>defaults:ecm_collections</field>
</fields>
<properties widgetMode="any">
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="pageProviderName">default_collection</property>
<property name="suggestionFormatter">docSelectionDefaultFormatter</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="default_nature_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.nature</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_nature" type="suggestManyDirectory">
<fields>
<field>defaults:dc_nature</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="width">100%</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="directoryName">nature</property>
<property name="localize">true</property>
</properties>
</widget>
<widget name="dc_nature_agg" type="selectManyCheckboxDirectoryAggregate">
<fields>
<field>defaults:dc_nature_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="directoryName">nature</property>
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_nature_agg'].extendedBuckets}</property>
<property name="localize">true</property>
</properties>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_subjects_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.subject</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_subjects" type="suggestManyDirectory">
<fields>
<field>defaults:dc_subjects</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="directoryName">l10nsubjects</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="filterParent">true</property>
<property name="canSelectParent">true</property>
</properties>
</widget>
<widget name="dc_subjects_agg" type="selectManyCheckboxDirectoryAggregate">
<fields>
<field>defaults:dc_subjects_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="directoryName">l10nsubjects</property>
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_subjects_agg'].extendedBuckets}</property>
<property name="dbl10n">true</property>
<property name="localize">true</property>
</properties>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_coverage_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.dublincore.coverage</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="dc_coverage" type="suggestManyDirectory">
<fields>
<field>defaults:dc_coverage</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'hidden' : 'edit'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="directoryName">l10ncoverage</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="filterParent">true</property>
<property name="canSelectParent">true</property>
</properties>
</widget>
<widget name="dc_coverage_agg" type="selectManyCheckboxDirectoryAggregate">
<fields>
<field>defaults:dc_coverage_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="directoryName">l10ncoverage</property>
<property name="selectOptions">#{contentView.pageProvider.aggregates['dc_coverage_agg'].extendedBuckets}</property>
<property name="dbl10n">true</property>
<property name="localize">true</property>
</properties>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_size_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.common.size</label>
</labels>
<translated>true</translated>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="common_size_agg" type="selectManyCheckboxRangeAggregate">
<fields>
<field>defaults:common_size_agg</field>
</fields>
<widgetModes>
<mode value="edit">#{contentView.pageProvider.hasAggregateSupport() ?
'edit' : 'hidden'}</mode>
</widgetModes>
<properties widgetMode="any">
<property name="selectOptions">#{contentView.pageProvider.aggregates['common_size_agg'].extendedBuckets}</property>
<property name="localize">true</property>
</properties>
<selectOptions>
<option itemLabel="label.aggregate.size.tiny" itemValue="tiny"/>
<option itemLabel="label.aggregate.size.small" itemValue="small"/>
<option itemLabel="label.aggregate.size.medium" itemValue="medium"/>
<option itemLabel="label.aggregate.size.big" itemValue="big"/>
<option itemLabel="label.aggregate.size.huge" itemValue="huge"/>
</selectOptions>
<controls mode="any">
<control name="supportInsideInputWidgetEffects">true</control>
</controls>
</widget>
</subWidgets>
</widget>
<widget name="default_location_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.search.locationSearch</label>
</labels>
<translated>true</translated>
<subWidgets>
<widget name="ecm_path" type="select_path_tree">
<labels>
<label mode="any">label.search.path</label>
</labels>
<translated>true</translated>
<fields>
<field>defaults:ecm_path</field>
</fields>
<properties widgetMode="any">
<property name="showAllDomains">true</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="default_tags_search" type="container">
<handlingLabels>true</handlingLabels>
<labels>
<label mode="any">label.search.tagSearch</label>
</labels>
<translated>true</translated>
<properties widgetMode="any">
<property name="hideSubLabels">true</property>
</properties>
<subWidgets>
<widget name="tags" type="select_tags">
<labels>
<label mode="any"/>
</labels>
<translated>true</translated>
<fields>
<field>defaults:ecm_tags</field>
</fields>
<properties widgetMode="edit">
<property name="placeholder">
#{messages['label.search.tags.placeholder']}
</property>
</properties>
</widget>
</subWidgets>
</widget>
<widget name="listing_size_and_format" type="container">
<labels>
<label mode="any">label.search.size_and_format</label>
</labels>
<properties widgetMode="view">
<property name="display">inline</property>
<property name="hideSubLabels">true</property>
</properties>
<subWidgetRefs>
<widget>listing_size</widget>
<widget>listing_main_file_format</widget>
</subWidgetRefs>
</widget>
<widget name="listing_size" type="listing_main_file_size">
<labels>
<label mode="any"/>
</labels>
<translated>false</translated>
<fields>
<field>data</field>
</fields>
</widget>
<widget name="listing_main_file_format" type="listing_main_file_format">
<labels>
<label mode="any"/>
</labels>
<translated>false</translated>
<fields>
<field>data</field>
</fields>
</widget>
<widget name="content_view_selected_columns" type="layout">
<labels>
<label mode="any">label.search.results</label>
</labels>
<translated>true</translated>
<fields>
<field>cvd:selectedLayoutColumns</field>
</fields>
<properties widgetMode="edit">
<property name="name">search_listing_ajax</property>
<property name="mode">edit_columns</property>
<property name="selectAllByDefault">true</property>
<property name="required">true</property>
</properties>
<widgetModes>
<mode value="view">hidden</mode>
</widgetModes>
</widget>
<widget name="content_view_sort_infos" type="layout">
<labels>
<label mode="any">label.search.orderBy</label>
</labels>
<fields>
<field>cvd:sortInfos</field>
</fields>
<translated>true</translated>
<properties widgetMode="edit">
<property name="name">search_listing_ajax</property>
<property name="mode">edit_sort_infos_map</property>
<property name="selectAllByDefault">true</property>
<property name="required">false</property>
<property name="newSortInfoTemplate">#{documentSearchActions.newSortInfoMap}</property>
</properties>
<widgetModes>
<mode value="view">hidden</mode>
</widgetModes>
</widget>
</extension>